home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Aktuell
/
Amiga Aktuell.iso
/
amiga-aktuell
/
net tools
/
tcp tools
/
wordkick
/
wordkick.amirx
next >
Wrap
Text File
|
1996-09-05
|
950b
|
41 lines
/* Kick Ban Script by Stephen Orr (Version 1.0) 23/07/1996
\\ Please mail any bug reports/comments to the Wedge@dagobah.demon.co.uk with a subject
\\ header of WordKick.AMIRX.
// How to install ? -----» Do this....
\\ Put this script in PROGDIR:rexx/ and add this to your highlight arexx event
// WordKick.Amirx %p
\\ Next goto to SETTINGS then LISTS and HIGHLIGHT and add your "keywords" remember the quotes,
// Dont use with a NICK because as soon as that person speaks they will be kicked
//
*/
OPTIONS RESULTS
PARSE ARG SENDER MSGTYPE RECEIVER MESSAGE
PARSE VAR SENDER ':'USER'!'REST
PARSE VAR SENDER '@'USER_HOST
"getmynick"
my_nick=RESULT
count = 0
namevalid = 0
do while namevalid = 0
getuser count
nick=RESULT
if nick = my_nick then do
getuserstate count
opstat=rc
if rc = 1 then do
mystat=op
end
namevalid=1
end
count = count + 1
end
IF mystat=op then "SAY /kick" USER
end
CLOSE(temmp)